<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="format-detection" content="telephone=no" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="white" />
		<title>钱包-首页</title>
		<link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.3/style/weui.min.css">
		<link rel="stylesheet" href="../public/css/jquery-weui.css">
		<link rel="stylesheet" href="../public/css/common.css" />
		<link rel="stylesheet" href="css/index.css" />
		<script src="../public/js/jquery-2.1.4.js"></script>
		<script src="../public/js/template-web.js"></script>
		<script src="../public/js/font_size.js"></script>
		<script src="../public/js/common.js"></script>
		<script src="js/index.js"></script>
	</head>

	<body>
		<div class="wrap container">
			<div id="wallet-content" class="wallet-content">
				<script id="wallet-content-tpl" type="text/html">
					<div class="wallet-header">
						<div class="title">
							<div class="icon"><img class="img-responsive" src="images/wallet_header_icon@2x.png" /></div>
							<div class="text">钱包</div>
						</div>
						<div class="total-assets-title">总资产 CNY</div>
						<div class="total-assets-value">{{rs.yunB + rs.yunScore,5|toDecimal}}</div>
						<div class="total-assets-trans">≈{{rs.yunB,5|toDecimal}} 云币</div>
					</div>
					<div class="wallet-list-box">
						<ul style="overflow: hidden;">
							<li>
								<a href="wallet-detail.html?type=0">
									<div class="icon"><img class="img-responsive" src="images/yb_icon@2x.png" /></div>
									<div class="detail">
										<div class="row1 over-h">
											<div class="left">云币</div>
											<div class="right">{{rs.yunB}}</div>
										</div>
										<div class="row2 over-h">
											<div class="left"><span>1.00</span>CNY</div>
											<div class="right">≈￥{{rs.cloudcoinExchange*rs.yunB}}</div>
										</div>
									</div>
								</a>
							</li>
							<li>
								<a href="wallet-detail.html?type=1">
									<div class="icon"><img class="img-responsive" src="images/yjf_icon@2x.png" /></div>
									<div class="detail">
										<div class="row1 over-h">
											<div class="left">云积分</div>
											<div class="right">{{rs.yunScore}}</div>
										</div>
										<div class="row2 over-h">
											<div class="left"><span>1.00</span>CNY</div>
											<div class="right">≈￥{{rs.integralExchange*rs.yunScore}}</div>
										</div>
									</div>
								</a>
							</li>
						</ul>
					</div>
				</script>
			</div>
			<div class="common-bottom">
				<ul>
					<li>
						<a href="../index/index.html">
							<div class="icon icon-1"></div>
							<div class="text">首页</div>
						</a>
					</li>
					<li>
						<a href="../index/buymill.html">
							<div class="icon icon-2"></div>
							<div class="text">矿机</div>
						</a>
					</li>
					<li class="active">
						<a href="index.html">
							<div class="icon icon-3"></div>
							<div class="text">钱包</div>
						</a>
					</li>
					<li>
						<a href="../personal/index.html">
							<div class="icon icon-4"></div>
							<div class="text">我的</div>
						</a>
					</li>
				</ul>
			</div>
		</div>
	</body>
	<script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/jquery-weui.min.js"></script>

</html>